import request from '@/utils/request'

// 爆破过程排放计算
export function calBlastEmission(query) {
  return request({
    url: '/blast/emission/calBlastEmission',
    method: 'get',
    params: query
  })
}

// 碳交易计算
export function calCarbonTrade(query) {
  return request({
    url: '/carbon/trade/calculateCarbonVolume',
    method: 'get',
    params: query
  })
}

// 直接释放计算
export function calDirectRelease(query) {
  return request({
    url: '/direct/release/calDirectRelease',
    method: 'get',
    params: query
  })
}

// 电力排放计算
export function calEleEmission(query) {
  return request({
    url: '/ele/emission/calEleEmission',
    method: 'get',
    params: query
  })
}

// 气体燃料计算
export function calGasFuel(query) {
  return request({
    url: '/gas/fuel/calGasFuel',
    method: 'get',
    params: query
  })
}

// 绿化碳汇计算
export function calGreenCarbon(query) {
  return request({
    url: '/greenCarbon/sink/calGreenCarbon',
    method: 'get',
    params: query
  })
}

// 购买绿证碳汇计算
export function calGreenCertificate(query) {
  return request({
    url: '/green/certificate/calGreenCertificate',
    method: 'get',
    params: query
  })
}

// 热力排放计算
export function calHeatEmission(query) {
  return request({
    url: '/heat/emission/calHeatEmission',
    method: 'get',
    params: query
  })
}

// 液体燃料计算
export function calLiquidFuel(query) {
  return request({
    url: '/liquid/fuel/calLiquidFuel',
    method: 'get',
    params: query
  })
}

// 脱硝排放计算
export function calNitreEmission(query) {
  return request({
    url: '/nitre/emission/calNitreEmission',
    method: 'get',
    params: query
  })
}

// 回收利用碳汇计算
export function calRecyclingCarbon(query) {
  return request({
    url: '/recycling/carbon/calRecyclingCarbon',
    method: 'get',
    params: query
  })
}

// 固体燃料计算
export function calSolidFuel(query) {
  return request({
    url: '/solid/fuel/calSolidFuel',
    method: 'get',
    params: query
  })
}

// 脱硫排放计算
export function calSulfurEmission(query) {
  return request({
    url: '/sulfur/emission/calSulfurEmission',
    method: 'get',
    params: query
  })
}

// 切焊加热计算
export function calWeldHeatEmission(query) {
  return request({
    url: '/weldHeat/emission/calWeldHeatEmission',
    method: 'get',
    params: query
  })
} 

// 导出接口
export function emissionXxport(query) {
  return request({
    url: '/blast/emission/export',
    method: 'get',
    params: query
  })
}
// 保存上传数据
export function emissionChangeData(data) {
  return request({
    url: '/blast/emission/changeData',
    method: 'post',
    data: data
  })
}